package com.qidian.permission.service;

import com.qidian.permission.entity.Role;
import com.qidian.permission.entity.User;
import com.qidian.permission.util.PerResult;

/**
 * @Author 32郗建狄
 * @Company GX631
 * Time 2023/10/21 15:39
 * Description
 */
public interface RoleService {
    PerResult selectById(Long roleId);
    PerResult addRole(Role role);
    PerResult selectByPage(Role role,int page,int limit);
    PerResult update(Role role);
    PerResult deleteByRoleId(Long roleId);
    PerResult deletesByRoleId(Long[] roleIds);
}
